// 注册SVG全局组件
import SvgIcon from '@/components/SvgIcon/index.vue'
import Pagination from '@/components/Pagination/index.vue'
const allGloablComponent = {
  SvgIcon,
  Pagination,
}
// 对外暴露一个插件
export default {
  install(app) {
    Object.keys(allGloablComponent).forEach((key) => {
      // 注册为全局组件
      app.component(key, allGloablComponent[key])
    })
  },
}
